import 'package:flutter_chubao/models/model_user.dart';
import 'package:get/get.dart';

class AppGetxUser extends GetxController {
  UserEntity _userEntity = UserEntity();
  UserEntity get userEntity => _userEntity;
  updateUser(UserEntity user) {
    _userEntity = user;
    update();
  }

  removeUserData() {
    _userEntity = UserEntity();
    update();
  }
}
